/**
 * @product: PCDC-CMS
 * @copyright: FSAI-南征北战信息科技
 * @filename: com.fsai.cms.service.ICmsCateService.java
 *
 * @link: Http://www.fastsai.com
 * @jdkv: Jdk 1.8
 */
package com.fsai.cms.service;

import java.util.List;

import com.fsai.cms.base.Ztree;
import com.fsai.cms.domain.CmsCate;

/**
 *
 * @project: pcdc-cms-web
 *
 * @author: JaffeHe
 * @email: JaffeHe@foxmail.com
 * @date: 2021-03-13 15:31
 *
 * @ChangeLog<br/>
 * 				Developer Date Comment <br/>
 */
public interface ICmsCateService {
	/**
	 * 查询栏目设置
	 * 
	 * @param cateId
	 *            栏目设置ID
	 * @return 栏目设置
	 */
	public CmsCate selectCmsCateById(Long cateId);

	/**
	 * 单层树列表
	 * 
	 * @Developer: JaffeHe - Date:2021-03-14 14:14
	 * @DepEmail: JaffeHe@foxmail.com
	 *
	 * @param orgId
	 * @return
	 * @ChangeLog:<br/>
	 */
	public List<Ztree> selectCmsCateTree(String orgId);

	/**
	 * 
	 * 获取站点栏目list
	 * 
	 * @Developer: JaffeHe - Date:2021-03-13 16:42
	 * @DepEmail: JaffeHe@foxmail.com
	 * @Function:
	 *
	 * @param orgId
	 * @return
	 * @ChangeLog:<br/>
	 */
	public List<CmsCate> selectCateList(String orgId);

	/**
	 * 
	 * 通过机构代码查询导航栏目,children
	 * 
	 * @Developer: JaffeHe - Date:2021-03-13 21:15
	 * @DepEmail: JaffeHe@foxmail.com
	 * @Function: TODO 描述方法作用
	 *
	 * @param orgCode
	 * @param topCateId
	 * @return
	 * @ChangeLog:<br/>
	 */
	public List<CmsCate> selectCateListToTree(String orgCode, int topCateId);

	/**
	 * 
	 * 通过代码查询栏目信息
	 * 
	 * @Developer: JaffeHe - Date:2021-03-14 14:14
	 * @DepEmail: JaffeHe@foxmail.com
	 * @Function:
	 *
	 * @param cateCode
	 * @return
	 * @ChangeLog:<br/>
	 */
	public CmsCate queryCateByCode(String cateCode);

	/**
	 * 查询子分类
	 * 
	 * @Developer: JaffeHe - Date:2021-03-15 10:05
	 * @DepEmail: JaffeHe@foxmail.com
	 * @Function: TODO 描述方法作用
	 *
	 * @param parentCateId
	 * @param cateTitle
	 * @return
	 * @ChangeLog:<br/>
	 */
	public CmsCate querySubCate(Long parentCateId, String cateTitle);
}
